package cn.tedu.kunpeng.admin.pojo.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.time.LocalDateTime;

@Data
public class orderList {
    private Long id;                        //订单id
    private Long userId;                    //用户id
    private Long productListId;             //商品id
    private String title;                   //商品标题
    private String picture;                 //商品图片路径
    private Timestamp createTime;           //订单创建时间
    private Integer count;                  //购买数量
    private BigDecimal price;               //单价
    private BigDecimal sumPrice;            //总价
    private String orderCode;               //订单号
    private Integer paymentType;            //支付方式, 0=支付宝, 1=微信
    private Integer state;                  //状态, 0=未支付, 1=已支付
    private BigDecimal freight;             //运费
    private LocalDateTime gmtCreate;        //创建时间
    private LocalDateTime gmtModified;      //最后修改时间
}
